package phoenix.core.base.extensions;

import core.helpers.CronosHelper;
import phoenix.core.PhoenixManager;
import phoenix.core.helpers.extensions.LoggerHelperExt;
import phoenix.core.helpers.extensions.RandomizerHelperExt;

public class DataModelBaseExt
{
	// PhoenixManager instance
	protected PhoenixManager phoenix;

	/**
	 * Initializes DataModelBaseExt
	 * 
	 * @param p_manager
	 *        ApplicationManager instance
	 */
	public DataModelBaseExt(PhoenixManager p_phoenix)
	{
		phoenix = p_phoenix;
	}

	/**
	 * Link method to RandomizerHelperExt
	 * 
	 * @return RandomizerHelperExt instance
	 */
	public RandomizerHelperExt randomizer()
	{
		return phoenix.randomizer();
	}

	/**
	 * Link method to LoggerHelperExt
	 * 
	 * @return LoggerHelperExt instance
	 */
	public LoggerHelperExt log()
	{
		return phoenix.log();
	}

	/**
	 * Link method to CronosHelper
	 * 
	 * @return CronosHelper instance
	 */
	public CronosHelper cronos()
	{
		return phoenix.cronos();
	}
}
